package vip.finance.makemoney.apiSpider.eastmoney;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author yangbin
 * @since 2023-03-09
 */
@NoArgsConstructor
@Data
public class EastTrends2Rsp {

    private Integer rc;
    private Integer rt;
    private Long svr;
    private Integer lt;
    private Integer full;
    private String dlmkts;
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        private String code;
        private Integer market;
        private Integer type;
        private Integer status;
        private String name;
        private Integer decimal;
        private BigDecimal preSettlement;
        private BigDecimal preClose;
        private String beticks;
        private Integer trendsTotal;
        private Long time;
        private Integer kind;
        private BigDecimal prePrice;
        // ["2023-03-09 22:30,85.27,85.27,85.27,85.27,0,0.00,0.000",]
        private List<String> trends;
    }
}
